package wiz.client.activities.selectplayers;

import com.google.gwt.cell.client.FieldUpdater;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.view.client.ListDataProvider;
import com.google.gwt.view.client.SelectionModel;

public interface SelectPlayersView extends IsWidget {

	public abstract HasClickHandlers getDoneButtonClickHandlers();

	public abstract void addPlayerSelectionFieldUpdater(FieldUpdater<SelectPlayerTableModel, Boolean> updater);

	public abstract void setTableData(ListDataProvider<SelectPlayerTableModel> data);
	
	public HasClickHandlers getAddPlayerButton();
	
	public HasText getAddPlayerNameText();

	public abstract void setTableSelectionModel(SelectionModel<SelectPlayerTableModel> selectionModel);

	public abstract void refreshTable();


}
